
Pod::Spec.new do |s|
  s.name         = "VPPublicUntilitis"
  s.version      = "0.3.3"
  s.summary      = "公用宏，公用函数，公用类."
  s.description  = <<-DESC
    TODO:公用宏，公用函数，公用类的私有组件
                   DESC
  s.homepage     = "https://git.oschina.net/vernepung/VPPublicUntilitis"
  s.author             = { "vernepung" => "vernepung@hotmail.com" }
  s.source       = { :git => "git@git.oschina.net:vernepung/VPPublicUntilitis.git", :tag => s.version.to_s }
  s.ios.deployment_target = '8.0'

    s.default_subspec = 'All'
    s.subspec 'All' do |spec|
        spec.ios.dependency 'VPPublicUntilitis/Fetaures'
        spec.ios.dependency 'VPPublicUntilitis/CTMediator'
        spec.ios.dependency 'VPPublicUntilitis/Category'
        spec.ios.dependency 'VPPublicUntilitis/Heler'
        spec.ios.dependency 'VPPublicUntilitis/Additions'
        spec.ios.dependency 'VPPublicUntilitis/Macro'
        spec.ios.dependency 'VPPublicUntilitis/Download'
        spec.ios.dependency 'VPPublicUntilitis/Utility'
    end

s.subspec 'CTMediator' do |spec|
spec.source_files = 'PublicClass/CTMediator/*.{h,m}'
spec.public_header_files = 'PublicClass/CTMediator/*.h'
end

    s.subspec 'Fetaures' do |spec|
        spec.source_files = 'PublicClass/Fetaures/{Cells,Controllers,Models,Views}/*.{h,m}'
        spec.public_header_files = 'PublicClass/Fetaures/{Cells,Controllers,Models,Views}/*.h'
        spec.dependency 'MJExtension', '~> 3.0.13'
        spec.dependency 'MBProgressHUD'
        spec.dependency 'Toast'
        spec.dependency 'VPPublicUntilitis/Macro'
    end

    s.subspec 'Category' do |spec|
        spec.source_files = 'PublicClass/Category/*.{h,m}'
        spec.public_header_files = 'PublicClass/Category/*.h'
        spec.dependency 'VPPublicUntilitis/Macro'
    end

    s.subspec 'Heler' do |spec|
        spec.source_files = 'PublicClass/Helper/*.{h,m}'
        spec.public_header_files = 'PublicClass/Helper/*.h'
        spec.dependency 'OpenUDID'
        spec.dependency 'VPPublicUntilitis/Macro'
    end

    s.subspec 'Additions' do |spec|
        spec.source_files = 'PublicClass/Additions/*.{h,m}'
        spec.public_header_files = 'PublicClass/Additions/*.h'
    end


    s.subspec 'Macro' do |spec|
        spec.source_files = 'PublicClass/Macro/*.{h,m}'
        spec.public_header_files = 'PublicClass/Macro/*.h'
    end

    s.subspec 'Download' do |spec|
            spec.source_files = 'PublicClass/VPDownloadManager/**/*.{h,m}'
            spec.public_header_files = 'PublicClass/VPDownloadManager/**/*.h'
            spec.ios.dependency 'VPPublicUntilitis/Fetaures'
            spec.ios.dependency 'VPPublicUntilitis/Heler'
    end

    s.subspec 'Utility' do |spec|
        spec.source_files = 'PublicClass/VPUtility/**/*.{h,m}'
        spec.public_header_files = 'PublicClass/VPUtility/**/*.h'
spec.resource  = "PublicClass/VPUtility/**/*.{xib,mp3}"
        spec.dependency 'SDWebImage'
    end




  # s.requires_arc = true

  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
    s.frameworks = 'UIKit'
    s.dependency 'UIAlertView-Blocks', '~> 1.0'
#s.dependency 'SDWebImage'
#s.dependency 'Toast'
#s.dependency 'OpenUDID'
s.dependency 'GTMBase64'
s.dependency 'Godzippa'
s.dependency 'XZKeychainItemWrapper'
#s.dependency 'MBProgressHUD'
#s.dependency 'MJExtension', '~> 3.0.13'
end
